package a19_flyweight;

public class Client {
	public static void main(String[] args) {
		FlyweightFactory factory = new FlyweightFactory();
		Flyweight fly = factory.getObject(new Character('a'));
		fly.attachState("First Call");

		fly = factory.getObject(new Character('b'));
		fly.attachState("Second Call");

		fly = factory.getObject(new Character('a'));
		fly.attachState("Third Call");
	}
}
